home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 160 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.xnet.com!kd9fb
  2. From: kd9fb@flood.xnet.com (Peter Mikalajunas)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Whats wrong with this ?
  5. Date: 3 Jan 1996 01:03:33 GMT
  6. Organization: XNet - A Full Service Internet Provider - (708) 983-6064
  7. Distribution: world
  8. Message-ID: <4cckl5$a1a@flood.xnet.com>
  9. References: <Pine.A32.3.91.951229150806.17743C-100000@red.weeg.uiowa.edu <8B804C3.028600267A.uuout@mwcs.mb.ca>
  10. NNTP-Posting-Host: cyclone.xnet.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. BILL SHYMANSKI (bill.shymanski@mwcs.mb.ca) wrote:
  14.  
  15. : -> I believe you meant
  16. : -> #define CR 13  /* on ASCII systems */
  17. : -> #define LF 10  /* ditto */
  18.  
  19.  
  20. : As a newcomer to C and the great wide world of programming: are there
  21. : many non-ASCII systems out there ?  I guess that there are some
  22. : operating systems that use double-byte characters; but are (were) there
  23. : EBCDIC or other character-code C implementations ?
  24.  
  25. : Imagining  an EBCDIC UNIX...
  26.  
  27. : Bill
  28.  
  29. Bill,
  30.  
  31.     You're taking a short view.  EBCDIC is used on IBM
  32. mainframes and midrange systems.  For the AS400 alone, IBM 
  33. states that they have sold 250,000 units.  So, I would think
  34. there are a great many C programmers lurking who never touch
  35. ASCII.
  36.  
  37. Peter Mikalajunas 
  38. kd9fb@xnet.com
  39. http://www.xnet.com/~kd9fb
  40.